using System;

namespace EP.Base.BaseService.Manager.Model.Entity
{    
	/// <summary>
    /// EsCluster 实体
    /// </summary>
    public class EsCluster
    {
		/// <summary>
		/// Id
		/// </summary>        
		public int Id { get; set; }
		/// <summary>
		/// 集群名称
		/// </summary>        
		public string Name { get; set; }
		/// <summary>
		/// 服务地址
		/// </summary>        
		public string ServiceHost { get; set; }
        /// <summary>
        /// 服务地址
        /// </summary>
	    public string[] ServiceHostArr
	    {
	        get { return ServiceHost.Split(','); }
	    }

	    /// <summary>
		/// 创建时间
		/// </summary>        
		public DateTime CreateTime { get; set; }
		 
    }
}
